package miui.xmpp;

import miui.xmpp.message.Iq;
import miui.xmpp.message.Message;

/**
 * Created by ouyang on 15-6-1.
 */
public interface XmppClient {

    boolean connect(String ip, int port, int millisecond);

    boolean disconnect();

    boolean isConnected();

    String getSelfIp();

    boolean send(Iq iq);

    boolean send(Message message);

    boolean send(String message);
}
